package com.example.jie;


import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        File file = new File("D:/Test/test1.doc");
        FileOutputStream fileOutputStream = new FileOutputStream(file);
        byte [] arr = "HELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOYHELLO ,BOY".getBytes();
        for (int i = 0 ; i <100000 ;i++) {
            fileOutputStream.write(arr);
        }
        fileOutputStream.close();

    }
}
